{if $alert_msg}
<div style='border:2px dotted; border-color:red;text-align:left;padding:5px;margin:5px;'>
{$alert_msg}
</div>
{/if}